//
//  MyFirstIPhoneAppAppDelegate.m
//  MyFirstIPhoneApp
//
//  Created by Andrew Spina on 4/6/10.
//  Copyright STScI 2010. All rights reserved.
//

#import "FirstGridAppAppDelegate.h"
#import "GridController.h"

@implementation FirstGridAppAppDelegate

@synthesize window;
@synthesize myViewController;



- (void)applicationDidFinishLaunching:(UIApplication *)application {    
	GridController *aViewController = [[GridController alloc]
			initWithNibName:@"GridController" bundle:[NSBundle mainBundle]];
	[self setMyViewController:aViewController];
	[aViewController release];
	UIView *controllersView = [myViewController view];
	[window addSubview:controllersView];
	[window makeKeyAndVisible];
}


- (void)dealloc {
    [window release];
	[myViewController release];
    [super dealloc];
}


@end
